<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Zeus</title>
	<meta name="keywords"
		content="Web Templates, Brown Template, Free CSS Layout" />
	<meta name="description"
		content="Brown Template - Free CSS Layout from TemplateMo.com" />
	<link
		href="#{facesContext.externalContext.requestContextPath}/template/templatemo_style.css"
		rel="stylesheet" type="text/css" />
	<script language="javascript" type="text/javascript">
function clearText(field)
{
    if (field.defaultValue == field.value) field.value = '';
    else if (field.value == '') field.value = field.defaultValue;
}
</script>
</h:head>
<h:body>
	<div id="templatemo_container">
		<div id="templatmeo_header">
			<div id="templatemo_menu">
				<h:form>
					<ul>
						<li><a
							href="#{facesContext.externalContext.requestContextPath}/faces/home.xhtml">Home</a></li>

						<h:panelGroup
							rendered="#{(not cadastrarUsuario.clienteLogado) and (not administradorAction.admLogado)}">
							<li><a
								href="#{facesContext.externalContext.requestContextPath}/faces/cadastrarUsuario.xhtml">Cadastro</a></li>
						</h:panelGroup>

						<h:panelGroup rendered="#{cadastrarUsuario.clienteLogado}">
						<li><a
							href="#{facesContext.externalContext.requestContextPath}/faces/reservar.xhtml">Reservas</a></li>
						</h:panelGroup>
							
						<li><a
							href="#{facesContext.externalContext.requestContextPath}/faces/administrativo.xhtml">Adminstrativo</a></li>

						<h:panelGroup
							rendered="#{(not cadastrarUsuario.clienteLogado) and (not administradorAction.admLogado)}">
							<li><a
								href="#{facesContext.externalContext.requestContextPath}/faces/login.xhtml">Login</a></li>
						</h:panelGroup>
						<h:panelGroup rendered="#{cadastrarUsuario.clienteLogado}">
							<li><p:commandLink
									actionListener="#{cadastrarUsuario.logout}"
									id="linkLogoutCliente" ajax="false">
									<h:outputText value="Logout" styleClass="logoutLink" />
								</p:commandLink></li>
							<li><a href="#">Gerenciar Conta</a></li>
						</h:panelGroup>
						<h:panelGroup rendered="#{administradorAction.admLogado}">
							<li><p:commandLink
									actionListener="#{administradorAction.logout}"
									id="linkLogoutAdm" ajax="false">
									<h:outputText value="Logout" styleClass="logoutLink" />
								</p:commandLink></li>
						</h:panelGroup>
						<li><h:panelGroup
								rendered="#{cadastrarUsuario.clienteLogado}">
								<p:commandLink actionListener="#" id="UsuarioLogado"
									ajax="false">
									<h:outputLabel
										value="Bem vindo #{cadastrarUsuario.hospede.nome}"
										styleClass="logoutLink" />
								</p:commandLink>
							</h:panelGroup></li>
						<li><h:panelGroup rendered="#{administradorAction.admLogado}">
								<p:commandLink actionListener="#" id="AdmLogado" ajax="false">
									<h:outputLabel
										value="Administrador #{administradorAction.administrador.chave} logado"
										styleClass="logoutLink" />
								</p:commandLink>
							</h:panelGroup></li>
					</ul>
				</h:form>


			</div>

			<div id="templatemo_logo_area">
				<div id="templatemo_logo">Zeus</div>
			</div>

		</div>
		<!-- End Of header -->

		<div id="templatemo_content">
			<div id="templatemo_content_top">
				<div id="templatemo_content_bottom">
					<div id="templaetmo_left">
						<div class="templatemo_one_col">
							<p:messages id="mensagens" showDetail="true" autoUpdate="true" />
							<ui:insert name="conteudo1">
								<div class="templatemo_h_line"></div>
							</ui:insert>
							<div class="cleaner"></div>
						</div>
						<div class="templatemo_one_col">
							<ui:insert name="conteudo2">
								<div class="templatemo_h_line"></div>
							</ui:insert>
							<div class="cleaner"></div>

						</div>
					</div>
					<!-- End Of Left-->
					<ui:insert name="conteudo3">
						<div id="templatemo_right">
							<div id="templatemo_right_top">
								<h1>Imagens Ilustrativas</h1>
							</div>
							<div id="templatemo_right_mid">

								<br /> <br />
								<h:panelGroup>
									<p:imageSwitch effect="fade">
										<ui:repeat value="#{imagemAction.imagens}" var="image">
											<p:graphicImage value="#{image}" />
										</ui:repeat>
									</p:imageSwitch>

									<br />
									<br />

									<p:imageSwitch effect="fade">
										<ui:repeat value="#{imagemAction.imagens2}" var="image">
											<p:graphicImage value="#{image}" />
										</ui:repeat>
									</p:imageSwitch>

								</h:panelGroup>

							</div>
							<div id="templatemo_right_bottom"></div>
						</div>
					</ui:insert>
					<!-- End Of Right-->
					<div class="cleaner"></div>
				</div>
				<!-- End Of Content Bottom-->
			</div>
			<!-- End Of Content Top-->
		</div>
		<!-- End Of Content-->
		<div id="templatemo_bottom_panel">
			<div id="bottom_top">
				<div class="templatemo_bottom_3_col">
					<h1>Mussum Ipsum</h1>
					<p>Mussum ipsum cacilds, vidis litro abertis. Consetis
						adipiscings elitis. Pra lá , depois divoltis porris, paradis.
						Paisis, filhis, espiritis santis. Mé faiz elementum girarzis, nisi
						eros vermeio, in elementis mé pra quem é amistosis quis leo.
						Manduma pindureta quium dia nois paga. Sapien in monti palavris
						qui num significa nadis i pareci latim. Interessantiss quisso
						pudia ce receita de bolis, mais bolis eu num gostis.</p>
				</div>

				<div class="templatemo_bottom_3_col">
					<h1>Mussum Ipsum</h1>
					<p>Mussum ipsum cacilds, vidis litro abertis. Consetis
						adipiscings elitis. Pra lá , depois divoltis porris, paradis.
						Paisis, filhis, espiritis santis. Mé faiz elementum girarzis, nisi
						eros vermeio, in elementis mé pra quem é amistosis quis leo.
						Manduma pindureta quium dia nois paga. Sapien in monti palavris
						qui num significa nadis i pareci latim. Interessantiss quisso
						pudia ce receita de bolis, mais bolis eu num gostis. Suco de
						cevadiss, é um leite divinis, qui tem lupuliz, matis, aguis e
						fermentis. Interagi no mé, cursus quis, vehicula ac nisi. Aenean
						vel dui dui. Nullam leo erat, aliquet quis tempus a, posuere ut
						mi. Ut scelerisque neque et turpis posuere pulvinar pellentesque
						nibh ullamcorper. Pharetra in mattis molestie, volutpat elementum
						justo. Aenean ut ante turpis.</p>
				</div>

				<div class="templatemo_bottom_3_col">
					<h1>Contate-nos</h1>
					<form action="#" method="post">
						<label class="labels">Nome:</label>
						<div class="cleaner"></div>
						<input type="text" value="Digite seu Nome" name="fullname"
							class="field" title="name" onfocus="clearText(this)"
							onblur="clearText(this)" id="fullname" />
						<div class="cleaner"></div>
						<label class="labels">Email:</label>
						<div class="cleaner"></div>
						<input type="text" value="Digite seu Email" name="email"
							class="field" title="email" onfocus="clearText(this)"
							onblur="clearText(this)" />
						<div class="cleaner"></div>
						<label class="labels">Mensagem:</label>
						<div class="cleaner"></div>
						<textarea name="message" cols="50" rows="3" class="text_area"
							title="message" onfocus="clearText(this)"
							onblur="clearText(this)">Digite sua Messagem</textarea>
						<input type="submit" name="search" value="Send" alt="Search"
							class="button" title="Subscribe" />
					</form>
				</div>
				<div class="cleaner"></div>

			</div>
			<!-- End Of bottom_top-->
		</div>
		<!-- End Of templatemo_bottom_panel-->
		<div id="templatemo_bottom_bottom"></div>

		<div id="templatemo_footer">
			Copyright © 2048 <a href="#">Zeus</a> | Designed by <a
				href="http://www.templatemo.com/page/1" target="_parent">Free
				CSS Templates</a> | Validate <a
				href="http://validator.w3.org/check?uri=referer">XHTML</a> &amp; <a
				href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
		</div>
	</div>
	<!-- End Of Container -->

	<!--  Free CSS Templates by TemplateMo.com  -->
</h:body>

</html>